package hero.mps.web.school_major.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import hero.mps.web.school_major.entity.MajorParam;
import hero.mps.web.school_major.entity.SchoolMajor;
import org.apache.ibatis.annotations.Param;

public interface SchoolMajorMapper extends BaseMapper<SchoolMajor> {
    /**
     * 分页查询专业列表
     * @param page
     * @param majorParam
     * @return
     */
    IPage<SchoolMajor> getList(IPage<SchoolMajor> page, @Param("param")MajorParam majorParam);
}
